package com.biqee.exception;

public class AuthenticationFailedException extends RuntimeException {

	private static final long serialVersionUID = 675882707159091979L;

	public AuthenticationFailedException(Throwable cause) {
		super(cause);
	}

	public AuthenticationFailedException(String message) {
		super(message);
	}

	public AuthenticationFailedException(ErrorCode errorCode,
			Object... parameters) {
		super(String.format(errorCode.toString(), parameters));
	}

	public AuthenticationFailedException(ErrorCode errorCode, Throwable cause) {
		super(errorCode.toString(), cause);
	}

	public AuthenticationFailedException(ErrorCode errorCode, Throwable cause,
			Object... parameters) {
		super(String.format(errorCode.toString(), parameters), cause);
	}
}